Crate evm[][src]

Ethereum Virtual Machine implementation in Rust

Re-exports

pub use evm_gasometer as gasometer;

Modules

backend

EVM backends

executor

EVM executors

Structs

Config

Runtime configuration.

Context

Context of the runtime.

Machine

Core execution layer for EVM.

Memory

A sequencial memory. It uses Rust’s Vec for internal representation.

Opcode

Opcode enum. One-to-one corresponding to an u8 value.

ResolveCall

Call interrupt resolution.

ResolveCreate

Create interrupt resolution.

Runtime

EVM runtime.

Stack

EVM stack.

Transfer

Transfer from source to target, with given value.

Valids

Mapping of valid jump destination from code.

Enums

CallScheme

Call scheme.

Capture

Capture represents the result of execution.

CreateScheme

Create scheme.

ExitError

Exit error reason.

ExitFatal

Exit fatal reason.

ExitReason

Exit reason.

ExitRevert

Exit revert reason.

ExitSucceed

Exit succeed reason.

Resolve

Interrupt resolution.

Traits

Handler

EVM context handler.

Type Definitions

Trap

Trap which indicates that an ExternalOpcode has to be handled.